package com.ysd.entity;

public class Category {
	
	private Integer id;
	private String categoryName;
	private Integer parentId;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Category(Integer id, String categoryName, Integer parentId) {
		super();
		this.id = id;
		this.categoryName = categoryName;
		this.parentId = parentId;
	}
	public Category() {
		super();
	}
	@Override
	public String toString() {
		return "Category [id=" + id + ", categoryName=" + categoryName + ", parentId=" + parentId + "]";
	}
	
}
